/** 
 * FileName:     Codes.java 
 * @Description: TODO(用一句话描述该文件做什么) 
* All rights Reserved, Designed By hnkeystone 
 * Copyright:    Copyright(C) 2010-2011 
 * Company       坚磐科技 
 * @author:    冯辉 
 * @version    V1.0  
 * Createdate:         2017-3-2 下午4:31:37 
 * 
 * Modification  History: 
 * Date         Author        Version        Discription 
 * ----------------------------------------------------------------------------------- 
 * 2017-3-2       hnkeystone.com          1.0             1.0 
 * Why & What is modified: <修改原因描述> 
 */  
package com.fh.util;

/** 
 * @ClassName:     Codes 
 * @Description:TODO(这里用一句话描述这个类的作用) 
 * @author:    冯辉 
 * @date:        2017-3-2 下午4:31:37 
 *  
 */
/**
 * 返回给客户端的标识代码
 */
public class Codes {

    /**
     * 通用错误编号
     */
    public static final int GENERAL_ERROR = 1;

    /**
     * 请求的Header校验失败
     */
    public static final int HEADER_VERIFY_FAILURE = 100;

    /**
     * 注册-已经存在号码
     */
    public static final int REG_DUPLICATE_MOBILE = 201;

    /**
     * 注册-验证码错误
     */
    public static final int REG_CAPTCHA_ERROR = 202;

    /**
     * 登录-用户信息不存在
     */
    public static final int LOGIN_USER_NOT_EXIST = 203;

    /**
     * 登录-登陆失败已达到最大次数
     */
    public static final int LOGIN_MAX_ERROR_TIMES = 204;

    /**
     * 登录-密码错误
     */
    public static final int LOGIN_ERROR_PSW = 205;

    /**
     * 插座不存在
     */
    public static final int SOCKET_NOT_EXIST = 303;


    /**
     * 对支付宝的订单签名失败
     */
    public static final int PAY_ZFB_SIGN_FAILURE = 801;

    /**
     * 对APP传来的支付宝结果进行校验,是否合法
     */
    public static final int PAY_ZFB_VERIFY_ORDER_FAILURE = 802;


}
